lsm_volume_admin_state_get(3) | Libstoragemgmt C API Manual | lsm_volume_admin_state_get(3) |
NAME¶
lsm_volume_admin_state_get - Retrieves administrative status of the volume.
SYNOPSIS¶
uint32_t lsm_volume_admin_state_get (lsm_volume *v);
ARGUMENTS¶
- v
- Volume to retrieve administrative status for.
VERSION¶
1.0
DESCRIPTION¶
Retrieves administrative status of the volume.
RETURN¶
uint64_t. Status of the specified volume which is a bit sensitive
field. Possible values are:
* LSM_VOLUME_ADMIN_STATE_ENABLED
The volume is not explicitly disabled by administrator. This is
the normal state of a volume.
* LSM_VOLUME_ADMIN_STATE_DISABLED
The volume is explicitly disabled by administrator or via method
lsm_volume_disable. All block access will be rejected.
lsm_volume_admin_state_get | May 2019 |